AcademyQuizzes\API\QuizQuestions S

Total Complexity 50
Dependencies 6
Dependents 1
Total lines 304
Lines of code 229
Logical lines of code 91
Comment lines 27
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
B
43 25 45
register_routes()
S
43 1 61
rest_prepare_for_collection()
S
58 4 16
rest_prepare_item()
S
60 4 14
get_items()
S
57 3 17
update_item()
S
59 2 14
create_item()
S
60 2 13
create_item_permissions_check()
S
64 2 10
update_item_permissions_check()
S
64 2 10
delete_item_permissions_check()
S
64 2 10
init()
S
69 1 6
get_item()
S
67 1 8
delete_item()
S
72 1 5